home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / msoftapp.zip / MAINFRM.H < prev    next >
C/C++ Source or Header  |  1993-06-01  |  3KB  |  110 lines

  1. // mainfrm.h : interface of the CMainFrame class
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #ifndef __AFXEXT_H__
  14. #include <afxext.h>         // for access to CToolBar and CStatusBar
  15. #endif
  16.  
  17. class CMainFrame : public CMDIFrameWnd
  18. {
  19.     DECLARE_DYNAMIC(CMainFrame)
  20. public:
  21.     CMainFrame();
  22.  
  23. // Implementation
  24. public:
  25.     virtual ~CMainFrame();
  26.  
  27. protected:  // control bar embedded members
  28.     CStatusBar  m_wndStatusBar;
  29.     CToolBar    m_wndToolBar;
  30.  
  31. // Generated message map functions
  32. protected:
  33.     //{{AFX_MSG(CMainFrame)
  34.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  35.     afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
  36.     afx_msg BOOL OnQueryNewPalette();
  37.     //}}AFX_MSG
  38.     DECLARE_MESSAGE_MAP()
  39. };
  40.  
  41. /////////////////////////////////////////////////////////////////////////////
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CNewFrame frame with splitter
  44.  
  45. #ifndef __AFXEXT_H__
  46. #include <afxext.h>
  47. #endif
  48.  
  49. class CNewFrame : public CMDIChildWnd
  50. {
  51.     DECLARE_DYNCREATE(CNewFrame)
  52. protected:
  53.     CNewFrame();            // protected constructor used by dynamic creation
  54.  
  55. // Attributes
  56. protected:
  57.     CSplitterWnd    m_wndSplitter;
  58. public:
  59.  
  60. // Operations
  61. public:
  62.  
  63. // Implementation
  64. public:
  65.     virtual ~CNewFrame();
  66.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  67.  
  68.     // Generated message map functions
  69.     //{{AFX_MSG(CNewFrame)
  70.         // NOTE - the ClassWizard will add and remove member functions here.
  71.     //}}AFX_MSG
  72.     DECLARE_MESSAGE_MAP()
  73. };
  74.  
  75. /////////////////////////////////////////////////////////////////////////////
  76. /////////////////////////////////////////////////////////////////////////////
  77. // CMySplitter frame with splitter
  78.  
  79. #ifndef __AFXEXT_H__
  80. #include <afxext.h>
  81. #endif
  82.  
  83. class CMySplitter : public CMDIChildWnd
  84. {
  85.     DECLARE_DYNCREATE(CMySplitter)
  86. protected:
  87.     CMySplitter();            // protected constructor used by dynamic creation
  88.  
  89. // Attributes
  90. protected:
  91.     CSplitterWnd    m_wndSplitter;
  92. public:
  93.  
  94. // Operations
  95. public:
  96.  
  97. // Implementation
  98. public:
  99.     virtual ~CMySplitter();
  100.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  101.  
  102.     // Generated message map functions
  103.     //{{AFX_MSG(CMySplitter)
  104.         // NOTE - the ClassWizard will add and remove member functions here.
  105.     //}}AFX_MSG
  106.     DECLARE_MESSAGE_MAP()
  107. };
  108.  
  109. /////////////////////////////////////////////////////////////////////////////
  110.